extends "../beierfasite-3/beierfasite-3.gd"


var baseId = ""
var upText1 = "燃烧号令赋予的负面效果层数+1"
var upText2 = "休憩时刻持续时间+1秒"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("<唯一>战斗开始时，赋予所有敌人4秒<眩晕>", "休憩时刻")

func _onBattleStart():
	._onBattleStart()
	yield(reTimer(1),"timeout")
	var chas = getAllChas(1)
	for i in chas:
		if i.hasBuff("b_xuanYun") == null:
			i.addBuff(buff.b_xuanYun.new(p4))
var p4 = 4
func upgrade():
	.upgrade()
	if upgraded == 2:
		p4 = 5